<div class="layui-card" style="background: none;height: calc(100% - 5px);">
  	<div class="layui-card-header scene-card-header" >
  		<button id="addScenePlanBtn" type="button" title="添加预案" class="scene-btn"><i class="fa fa-plus-square" aria-hidden="true"></i></button>
		<button id="addSceneLayerBtn" type="button" title="添加分组" class="scene-btn"><i class="layui-icon">&#xe624;</i></button>
		<button id="deleteSceneEmptyLayerBtn" type="button" title="删除所有空分组" class="scene-btn"><i class="layui-icon">&#xe640;</i></button>
	</div>
	<div class="layui-card-body" style="height:calc(100% - 40px);border-bottom: 0px;padding: 1px;overflow-y:auto; ">
		<ul id="sceneLayerTree" class="ztree"  ></ul>
	</div>
</div>

<script id="sceneLayerEditScript" type="textml"> 
<form id="sceneLayerForm" lay-filter="sceneLayerForm" class="layui-form model-form" style="padding: 5px;">
	<input name="id" type="hidden"  />
	<input name="type" type="hidden" value="-1" />
	<input name="parentId" type="hidden"/>
	<table class="formTable">
		<tr>
			<td>名称</td>
			<td >
				<input name="name"  placeholder="请输入名称" placeholder="" autocomplete="off"   type="text" class="layui-input" maxlength="50" lay-verType="tips" lay-verify="required" required  />
			</td>
		</tr>
		<tr>
			<td>标识</td>
			<td >
				<input name="code"  placeholder="请输入标识" placeholder="" autocomplete="off"   type="text" class="layui-input" maxlength="50" lay-verType="tips" lay-verify="required" required  />
			</td>
		</tr>
		<tr>
			<td colspan="2" style="text-align: right;">
				<button class="layui-btn layui-btn-sm" lay-filter="submitSceneLayerForm" lay-submit>保存</button>
			</td>
		</tr>
	</table>
</form>
</script>